﻿using System;

namespace Matrix.MaKaYunShang.Model
{
	/// <summary>
	///卡卷
	/// </summary>
	public class CloudCards
	{
        #region 默认属性
        /// <summary>
        /// 主键id
        /// </summary>		
        public int Id { get; set; }
        /// <summary>
        /// 卡卷名称
        /// </summary>		
        public string CardName { get; set; }
        /// <summary>
        /// 卡类别id
        /// </summary>		
        public int CardCategoryId { get; set; }
        /// <summary>
        /// 卡券类别编码
        /// </summary>		
        public string CategoryCode { get; set; }
        /// <summary>
        /// 商家id
        /// </summary>		
        public int ShopId { get; set; }
        /// <summary>
        /// 卡卷唯一标识符
        /// </summary>		
        public string CardKey { get; set; }
        /// <summary>
        /// 卡卷库存总数量
        /// </summary>		
        public int TotalQuantity { get; set; }
        /// <summary>
        /// 已发数量
        /// </summary>		
        public int SendQuantity { get; set; }
        /// <summary>
        /// 领取数量
        /// </summary>		
        public int ReceiveQuantity { get; set; }
        /// <summary>
        /// 描述
        /// </summary>		
        public string Description { get; set; }
        /// <summary>
        /// 卡卷Logo
        /// </summary>		
        public string LoGo { get; set; }
        /// <summary>
        /// 颜色
        /// </summary>		
        public string Color { get; set; }
        /// <summary>
        /// 品牌
        /// </summary>		
        public string Brand { get; set; }
        /// <summary>
        /// 副标题
        /// </summary>		
        public string Subtitle { get; set; }
        /// <summary>
        /// 标题
        /// </summary>		
        public string Title { get; set; }
        /// <summary>
        /// 生效时间
        /// </summary>		
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 失效时间
        /// </summary>		
        public DateTime EndTime { get; set; }
        /// <summary>
        /// 描述图片
        /// </summary>		
        public string DescriptionImage { get; set; }
        /// <summary>
        /// (最低消费可用)满减门槛字段，可用于折扣券和代金券，填入后将在前面拼写消费满xx元可用
        /// </summary>		
        public decimal LeastCost { get; set; }
        /// <summary>
        /// 代金券专用，表示减免金额。（单位为元）
        /// </summary>		
        public decimal ReduceCost { get; set; }
        /// <summary>
        /// 折扣券专用，表示打折额度（百分比）。填30就是七折。 
        /// </summary>		
        public decimal DiscountValue { get; set; }
        /// <summary>
        /// 卡卷价值
        /// </summary>		
        public decimal CardValue { get; set; }
        /// <summary>
        /// 卡卷是否可分享
        /// </summary>		
        public bool CanShare { get; set; }
        /// <summary>
        /// 使用说明
        /// </summary>		
        public string Instruction { get; set; }
        /// <summary>
        /// 免责声明
        /// </summary>		
        public string Disclaimer { get; set; }
        /// <summary>
        /// 马云币金币值
        /// </summary>		
        public int GoldValue { get; set; }
        /// <summary>
        /// 是否可交易
        /// </summary>		
        public bool IsCanTrade { get; set; }
        /// <summary>
        /// 失败原因
        /// </summary>		
        public string FaidReason { get; set; }
        /// <summary>
        /// 审核人id (商家)
        /// </summary>		
        public int PassUserId { get; set; }
        /// <summary>
        /// 添加人id  商家
        /// </summary>		
        public int AddUserId { get; set; }
        /// <summary>
        /// 审核状态（0待审核  1审核通过  2审核失败）
        /// </summary>		
        public int PassStatus { get; set; }
        /// <summary>
        /// 卡券适用店铺ID（逗号分隔）
        /// </summary>		
        public string UsableShopIds { get; set; }
        /// <summary>
        /// 是否显示在主页
        /// </summary>		
        public bool ShowOnHomepage { get; set; }
        /// <summary>
        /// 不可发卡的细分行业类别（逗号分隔）
        /// </summary>		
        public string DisabledSeparatedIndustryIds { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>		
        public DateTime AddTime { get; set; }
        /// <summary>
        /// 是否已删除（True已删除，False未删除）
        /// </summary>		
        public bool IsDelete { get; set; }
        #endregion

        #region 扩展属性
        public int ScanId { get; set; }
        public int ReceiveSource { get; set; }
        public string OpenId { get; set; }
        public string Mobile { get; set; }
        /// <summary>
        /// 卡券类别名称
        /// </summary>
        public string CategoryName { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>		
        public DateTime? PassTime { get; set; }
        /// <summary>
        /// 类别图片
        /// </summary>
        public string CategoryImg { get; set; }
        /// <summary>
        /// 商家名称
        /// </summary>
        public string ShopName { get; set; }

        #endregion
	}
}